package com.juzi.bianli;

public class JieShao {
    public static void main(String[] args) {
        System.out.println("=========================\n" +
                "数组遍历介绍\n" +
                "遍历：就是一个一个数据的访问。\n" +
                "--------------\n" +
                "如何遍历？\n" +
                "   int[] ages = {20, 30, 40, 50};\n" +
                "   for (int i = 0; i < ages.length; i++) {\n" +
                "       System.out.println(ages[i]);\n" +
                "   }\n");
    }
}
